<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" href="../bootstrap-3.0.3/css/bootstrap.min.css">
<script type="text/javascript" src="../bootstrap-3.0.3/js/bootstrap.js"></script>
<script type="text/javascript" src="../script/jquery-1.11.3.js"></script>
<style>
.thumbnail {
	width: 245px;
	margin-left: 25px;
}
</style>
</head>
<body>
	<div class="container">
		<%@ include file="shared/back_header.jsp"%>
		<div class="row">
			<div class="col-md-9 col-md-push-3" style="left: 269px;">
				<form class="form-horizontal" role="form" method="post" action="districtAmend">
					<div class="form-group">
						<label for="inputPassword3" class="col-sm-2 control-label">地区名称:</label>
						<div class="col-sm-10">
							<input type="text" name="name" class="form-control" id="inputPassword3"
								placeholder="请输入地区名称" value="${district.name }"/>
						</div>
					</div>
					<div class="form-group">
						<div class="col-sm-offset-2 col-sm-10">
							<c:choose>
								<c:when test="${!empty district }">
									<input type="hidden" value="${district.id }" name="id">
									<button type="submit" class="btn btn-default">修改</button>
								</c:when>
								<c:otherwise>
									<button type="submit" class="btn btn-default">添加</button>
								</c:otherwise>
							</c:choose>
							
						</div>
					</div>
				</form>
			</div>
			<%@ include file="shared/admin_nav.jsp"%>
		</div>
	</div>
</body>
</html>